<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts: lib/time.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">ESP8266ILI9341DisplayProject</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_97aefd0d527b934f1d99a682da8fe6a9.html">lib</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">time.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="time_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#ifndef TIME_H</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#define TIME_H</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="time_8h.html#aa0e47af385cda59b56c1ba71dee795d8">   29</a></span>&#160;<span class="preprocessor">#define EPOCH_YEAR    1970    </span><span class="comment">/*&lt; Thursday Jan 1 1970 */</span><span class="preprocessor"></span></div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="time_8h.html#af52939ab160d0d62c41282669c0214ed">   30</a></span>&#160;<span class="preprocessor">#define EPOCH_DAY        4    </span><span class="comment">/*&lt; Sunday = 0 ... Saturday = 6 */</span><span class="preprocessor"></span></div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="time_8h.html#a0ac447c7f69530e0caadc891c59d7244">   31</a></span>&#160;<span class="preprocessor">#define EPOCH            0    </span><span class="comment">/*&lt; Zero seconds */</span><span class="preprocessor"></span></div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="time_8h.html#a68d645790f023c139b736dd48f0c90bf">   32</a></span>&#160;<span class="preprocessor">#define EPOCH_2000 946684800  </span><span class="comment">/*&lt; Sat, 01 Jan 2000 00:00:00 GMT */</span><span class="preprocessor"></span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">   35</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a>;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="time_8h.html#afeece078c6706f33383bf11bbf584518">   38</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> <a class="code" href="time_8h.html#afeece078c6706f33383bf11bbf584518">clockid_t</a>;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="structtm.html">   41</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structtm.html">tm</a> </div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;{</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="structtm.html#a4d098a9a5c03a00b2ee61e10851de81e">   43</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structtm.html#a4d098a9a5c03a00b2ee61e10851de81e">tm_sec</a>;    <span class="comment">/*&lt;  Seconds.     [0-60] (1 leap second) */</span></div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="structtm.html#af414eb7c86cc3099595211eee4d4211b">   44</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structtm.html#af414eb7c86cc3099595211eee4d4211b">tm_min</a>;    <span class="comment">/*&lt;  Minutes.     [0-59] */</span> </div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="structtm.html#a3e7ca4e37f1abcaf56b8a916c38eb9fe">   45</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structtm.html#a3e7ca4e37f1abcaf56b8a916c38eb9fe">tm_hour</a>;   <span class="comment">/*&lt;  Hours.       [0-23] */</span></div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="structtm.html#ab8d8904bad43b0c8b96e61941c5b5310">   46</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structtm.html#ab8d8904bad43b0c8b96e61941c5b5310">tm_mday</a>;   <span class="comment">/*&lt;  Day.         [1-31] */</span></div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="structtm.html#a112ac36fa2f593777138a417cf031e17">   47</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structtm.html#a112ac36fa2f593777138a417cf031e17">tm_mon</a>;    <span class="comment">/*&lt;  Month.       [0-11] */</span></div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="structtm.html#a33adf78fd6476b2120ce3b9c4a852053">   48</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structtm.html#a33adf78fd6476b2120ce3b9c4a852053">tm_year</a>;   <span class="comment">/*&lt;  Year - 1900. */</span></div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="structtm.html#afe81a8c46f1c693c43f259b288859f4f">   49</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structtm.html#afe81a8c46f1c693c43f259b288859f4f">tm_wday</a>;   <span class="comment">/*&lt;  Day of week. [0-6] */</span></div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="structtm.html#a93a0ba77cc23796df84405dcbcc57eb1">   50</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structtm.html#a93a0ba77cc23796df84405dcbcc57eb1">tm_yday</a>;   <span class="comment">/*&lt;  Days in year.[0-365] */</span></div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="structtm.html#a5645ca0580c8ab2c24f6c2965d9c9f9c">   51</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structtm.html#a5645ca0580c8ab2c24f6c2965d9c9f9c">tm_isdst</a>;  <span class="comment">/*&lt;  DST.         [-1/0/1] */</span></div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="structtm.html#a6b7d1fb16f21197ea027e364e2812c3d">   52</a></span>&#160;    <a class="code" href="earth2wireframe_8c.html#a32f2e37ee053cf2ce8ca28d1f74630e5">int32_t</a> <a class="code" href="structtm.html#a6b7d1fb16f21197ea027e364e2812c3d">tm_gmtoff</a>; <span class="comment">/*&lt;  GMT offset in seconds */</span></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;};  </div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structtm.html">tm</a> <a class="code" href="structtm.html">tm_t</a>;</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="structtimeval.html">   68</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structtimeval.html">timeval</a></div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;{</div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="structtimeval.html#aef6ddab1064c430758f9f913b7e4a21e">   70</a></span>&#160;    <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a>       <a class="code" href="structtimeval.html#aef6ddab1064c430758f9f913b7e4a21e">tv_sec</a>;   <span class="comment">/*&lt; seconds */</span></div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="structtimeval.html#a8fd7abf5420981b3ff58bb23df458587">   71</a></span>&#160;    <a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a>     <a class="code" href="structtimeval.html#a8fd7abf5420981b3ff58bb23df458587">tv_usec</a>;  <span class="comment">/*&lt; microseconds */</span></div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;};</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="time_8h.html#a23f99094ae0798225e20ad40e48658bb">   75</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structtimeval.html">timeval</a> <a class="code" href="structtimeval.html">tv_t</a>;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="structtimezone.html">   78</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structtimezone.html">timezone</a></div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;{</div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="structtimezone.html#a3042f7eff6e1b980728def76b1fa0eb7">   80</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structtimezone.html#a3042f7eff6e1b980728def76b1fa0eb7">tz_minuteswest</a>;  <span class="comment">/*&lt; minutes west of Greenwich */</span></div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="structtimezone.html#a85259977aeb63b17e6ce94f19afdfd99">   81</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structtimezone.html#a85259977aeb63b17e6ce94f19afdfd99">tz_dsttime</a>;      <span class="comment">/*&lt; type of DST correction */</span></div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;};</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="time_8h.html#a63629b2492d6773f4d4948d6e60022a8">   85</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structtimezone.html">timezone</a> <a class="code" href="structtimezone.html">tz_t</a>;</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="structtimespec.html">   88</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structtimespec.html">timespec</a></div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;{</div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="structtimespec.html#afc3302668d7cb5952f590da69fdd4955">   90</a></span>&#160;    <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a>   <a class="code" href="structtimespec.html#afc3302668d7cb5952f590da69fdd4955">tv_sec</a>;   <span class="comment">/*&lt; seconds */</span></div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="structtimespec.html#ae3c7510dafa8cbcaede866ed13c99683">   91</a></span>&#160;    <span class="keywordtype">long</span>     <a class="code" href="structtimespec.html#ae3c7510dafa8cbcaede866ed13c99683">tv_nsec</a>;  <span class="comment">/*&lt; nanoseconds */</span></div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;};</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="time_8h.html#a062a82a85c72b4a3020130efc37a00cf">   95</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structtimespec.html">timespec</a> <a class="code" href="structtimespec.html">ts_t</a>;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="keyword">extern</span> <span class="keyword">volatile</span> <a class="code" href="structtimespec.html">ts_t</a> <a class="code" href="time_8h.html#a335451dd774ecb4b696d501b4c1b6f30">__clock</a>;</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="keyword">extern</span> <a class="code" href="structtimezone.html">tz_t</a> <a class="code" href="time_8h.html#a9ac29ed71adf6807175d24ab1fa622a7">__tzone</a>;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="structdst__t.html">  105</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="structdst__t.html#af1868fb321db3637664e3a3bf11cf56b">  106</a></span>&#160;    <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> <a class="code" href="structdst__t.html#af1868fb321db3637664e3a3bf11cf56b">start</a>;   </div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="structdst__t.html#a9a6e1d16a7057ad1206b9230b073f99f">  107</a></span>&#160;    <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> <a class="code" href="structdst__t.html#a9a6e1d16a7057ad1206b9230b073f99f">end</a>;     </div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="structdst__t.html#ae8b931e1a2731b688e1af1253787827c">  108</a></span>&#160;    <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> <a class="code" href="structdst__t.html#ae8b931e1a2731b688e1af1253787827c">epoch</a>;   </div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;} <a class="code" href="structdst__t.html">dst_t</a>;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;<span class="comment">/* time.c */</span></div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">char</span> *<a class="code" href="time_8h.html#ac7a571349cf5217b6261a01bf85a79ab">tm_wday_to_ascii</a> ( <span class="keywordtype">int</span> i );</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">char</span> *<a class="code" href="time_8h.html#a0dd83b6492eb8473cb55bb45d8fc6c0c">tm_mon_to_ascii</a> ( <span class="keywordtype">int</span> i );</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="time_8h.html#ae0a1ae285cfe1e2fc598ac12f46ceaef">finddayofweek</a> ( <span class="keywordtype">int</span> year , <span class="keywordtype">int</span> month , <span class="keywordtype">int</span> day );</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="time_8h.html#ac8aa3e3bf89628eb458ec88350b8033b">Days_Per_Month</a> ( <span class="keywordtype">int</span> month , <span class="keywordtype">int</span> year );</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> <a class="code" href="time_8h.html#a09b5af92607205b927df4dcc1f2baa53">time_to_tm</a> ( <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> epoch , <a class="code" href="earth2wireframe_8c.html#a32f2e37ee053cf2ce8ca28d1f74630e5">int32_t</a> offset , <a class="code" href="structtm.html">tm_t</a> *t );</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> <a class="code" href="time_8h.html#a8386ff819a39512ea00cfc78ce5a27d5">timegm</a> ( <a class="code" href="structtm.html">tm_t</a> *t );</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">char</span> *<a class="code" href="time_8h.html#a7ffc52def0c7fbf70c50248e3f7d6a8a">asctime_r</a> ( <a class="code" href="structtm.html">tm_t</a> *t , <span class="keywordtype">char</span> *buf );</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">char</span> *<a class="code" href="time_8h.html#a95735d85f13249a5b329308d27d1f3ee">asctime</a> ( <a class="code" href="structtm.html">tm_t</a> *t );</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">char</span> *<a class="code" href="time_8h.html#a1aab5ff5bdcacaf02c16153291db0ea3">ctime_r</a> ( <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> *t , <span class="keywordtype">char</span> *buf );</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">char</span> *<a class="code" href="time_8h.html#a77d6bba12950028852621634ffaf4835">ctime</a> ( <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> *tp );</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">char</span> *<a class="code" href="time_8h.html#acf34275ac6fb2f724205873402dc9f70">ctime_gm</a> ( <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> *tp );</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="structtm.html">tm_t</a> *<a class="code" href="time_8h.html#af391cf18b3fab0e588c6c3f354b7ca18">gmtime_r</a> ( <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> *t , <a class="code" href="structtm.html">tm_t</a> *result );</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="structtm.html">tm_t</a> *<a class="code" href="time_8h.html#a10fe08d03c4c3da23d1e1c059f4cf3a5">gmtime</a> ( <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> *tp );</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="structtm.html">tm_t</a> *<a class="code" href="time_8h.html#af05576742e2f8ad3924c02a6af70a86d">localtime_r</a> ( <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> *t , <a class="code" href="structtm.html">tm_t</a> *result );</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="structtm.html">tm_t</a> *<a class="code" href="time_8h.html#a08eb1818fa59b3e6e1f1470ca0888572">localtime</a> ( <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> *tp );</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> <a class="code" href="time_8h.html#aeafbe7f942ef85f85edbbe31e439372b">mktime</a> ( <a class="code" href="structtm.html">tm_t</a> *t );</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> <a class="code" href="time_8h.html#a3b1394c042dadbb7086e4facb6c87186">normalize</a> ( <a class="code" href="structtm.html">tm_t</a> *t , <span class="keywordtype">int</span> normalize_to_timezone );</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="time_8h.html#ac363b4a4a45a4431d3c3b56886f1bef1">gettimezone</a> ( <a class="code" href="structtimezone.html">tz_t</a> *tz );</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="time_8h.html#aba9a1e17f18817099c795d0559d747a8">settimezone</a> ( <a class="code" href="structtimezone.html">tz_t</a> *tz );</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="time_8h.html#a96a115b6a8104959a7340938f150a350">gettimeofday</a> ( <a class="code" href="structtimeval.html">tv_t</a> *tv , <a class="code" href="structtimezone.html">tz_t</a> *tz );</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> <a class="code" href="time_8h.html#a32b1cbd925752f0cd61d202bbe204a69">time</a> ( <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> *t );</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="time_8h.html#aeb8aa93cda8bc413e67e8633793edf7e">settimeofday</a> ( <a class="code" href="structtimeval.html">tv_t</a> *tv , <a class="code" href="structtimezone.html">tz_t</a> *tz );</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="time_8h.html#a054fae207409ed1e0be1c30edaab9a7b">clock_set</a> ( <a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> <a class="code" href="user__main_8c.html#ae112d79896ed83ac05e155da60e85523">seconds</a> , <a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> us );</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="time_8h.html#a7a02196096176d10235868e6dce48c4c">setdate</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="time_8h.html#af39c674506657f4a32793388117be705">setdate_r</a> ( <span class="keywordtype">char</span> *buf );</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> <a class="code" href="time_8h.html#abc775c1cfa2760ddccbfe11c8c0b6efa">find_dst</a> ( <span class="keywordtype">int</span> <a class="code" href="time_8c.html#a5a388b2bb2a2a9914c7d68ed3d09f7e9">dst</a> , <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> epoch , <span class="keywordtype">int</span> year , <span class="keywordtype">int</span> month , <span class="keywordtype">int</span> weekno , <span class="keywordtype">int</span> dayno , <span class="keywordtype">int</span> hour );</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="time_8h.html#a2c066c436f8198cf22c1f2eef5d7b67a">set_dst</a> ( <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> epoch );</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="time_8h.html#a97ed766c965cf60b39b74a22077caf51">is_dst</a> ( <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> epoch );</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="time_8h.html#a4ad16382ead0709235ab5ea871c3d2be">print_dst</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="time_8h.html#a3c227da686cc61a0543ffd12c673c895">print_dst_gmt</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="time_8h.html#a0be4566aa9ed3f590570de0787f2cc12">initialize_clock</a> ( <span class="keywordtype">int</span> minwest );</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="time_8h.html#abfb6a874f26825f5b1b82edcd614bc86">display_clock</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="earth2wireframe_8c_html_a32f2e37ee053cf2ce8ca28d1f74630e5"><div class="ttname"><a href="earth2wireframe_8c.html#a32f2e37ee053cf2ce8ca28d1f74630e5">int32_t</a></div><div class="ttdeci">int int32_t</div><div class="ttdef"><b>Definition:</b> <a href="earth2wireframe_8c_source.html#l00043">earth2wireframe.c:43</a></div></div>
<div class="ttc" id="structtimezone_html_a85259977aeb63b17e6ce94f19afdfd99"><div class="ttname"><a href="structtimezone.html#a85259977aeb63b17e6ce94f19afdfd99">timezone::tz_dsttime</a></div><div class="ttdeci">int tz_dsttime</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00081">time.h:81</a></div></div>
<div class="ttc" id="structtm_html_af414eb7c86cc3099595211eee4d4211b"><div class="ttname"><a href="structtm.html#af414eb7c86cc3099595211eee4d4211b">tm::tm_min</a></div><div class="ttdeci">int tm_min</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00044">time.h:44</a></div></div>
<div class="ttc" id="time_8h_html_acf34275ac6fb2f724205873402dc9f70"><div class="ttname"><a href="time_8h.html#acf34275ac6fb2f724205873402dc9f70">ctime_gm</a></div><div class="ttdeci">MEMSPACE char * ctime_gm(time_t *tp)</div><div class="ttdoc">GMT version of POSIX ctime(). </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00441">time.c:441</a></div></div>
<div class="ttc" id="time_8c_html_a5a388b2bb2a2a9914c7d68ed3d09f7e9"><div class="ttname"><a href="time_8c.html#a5a388b2bb2a2a9914c7d68ed3d09f7e9">dst</a></div><div class="ttdeci">dst_t dst</div><div class="ttdoc">DST start and stop in GMT epoch. </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00052">time.c:52</a></div></div>
<div class="ttc" id="time_8h_html_a77d6bba12950028852621634ffaf4835"><div class="ttname"><a href="time_8h.html#a77d6bba12950028852621634ffaf4835">ctime</a></div><div class="ttdeci">MEMSPACE char * ctime(time_t *tp)</div><div class="ttdoc">Convert local time_t *t epoch time into POSIX asctime() string buf[]. </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00424">time.c:424</a></div></div>
<div class="ttc" id="send_8c_html_a273cf69d639a59973b6019625df33e30"><div class="ttname"><a href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a></div><div class="ttdeci">unsigned short uint16_t</div><div class="ttdef"><b>Definition:</b> <a href="send_8c_source.html#l00018">send.c:18</a></div></div>
<div class="ttc" id="time_8h_html_a32b1cbd925752f0cd61d202bbe204a69"><div class="ttname"><a href="time_8h.html#a32b1cbd925752f0cd61d202bbe204a69">time</a></div><div class="ttdeci">MEMSPACE time_t time(time_t *t)</div><div class="ttdoc">Return second from epoch - POSIX function. </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00843">time.c:843</a></div></div>
<div class="ttc" id="time_8h_html_abc775c1cfa2760ddccbfe11c8c0b6efa"><div class="ttname"><a href="time_8h.html#abc775c1cfa2760ddccbfe11c8c0b6efa">find_dst</a></div><div class="ttdeci">MEMSPACE time_t find_dst(int dst, time_t epoch, int year, int month, int weekno, int dayno, int hour)</div><div class="ttdoc">Calculate GMT seconds of DST transition given LOCAL time start / end time and DST flag...</div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l01038">time.c:1038</a></div></div>
<div class="ttc" id="structtm_html_ab8d8904bad43b0c8b96e61941c5b5310"><div class="ttname"><a href="structtm.html#ab8d8904bad43b0c8b96e61941c5b5310">tm::tm_mday</a></div><div class="ttdeci">int tm_mday</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00046">time.h:46</a></div></div>
<div class="ttc" id="time_8h_html_a95735d85f13249a5b329308d27d1f3ee"><div class="ttname"><a href="time_8h.html#a95735d85f13249a5b329308d27d1f3ee">asctime</a></div><div class="ttdeci">MEMSPACE char * asctime(tm_t *t)</div><div class="ttdoc">Convert tm_t *t structure into POSIX asctime() ASCII string. </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00394">time.c:394</a></div></div>
<div class="ttc" id="time_8h_html_afeece078c6706f33383bf11bbf584518"><div class="ttname"><a href="time_8h.html#afeece078c6706f33383bf11bbf584518">clockid_t</a></div><div class="ttdeci">uint16_t clockid_t</div><div class="ttdoc">type of clockid_t. </div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00038">time.h:38</a></div></div>
<div class="ttc" id="time_8h_html_ac8aa3e3bf89628eb458ec88350b8033b"><div class="ttname"><a href="time_8h.html#ac8aa3e3bf89628eb458ec88350b8033b">Days_Per_Month</a></div><div class="ttdeci">MEMSPACE int Days_Per_Month(int month, int year)</div><div class="ttdoc">days in a month </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00223">time.c:223</a></div></div>
<div class="ttc" id="time_8h_html_aba9a1e17f18817099c795d0559d747a8"><div class="ttname"><a href="time_8h.html#aba9a1e17f18817099c795d0559d747a8">settimezone</a></div><div class="ttdeci">MEMSPACE int settimezone(tz_t *tz)</div><div class="ttdoc">Set current timezone with struct timezone *tz - POSIX function. </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00806">time.c:806</a></div></div>
<div class="ttc" id="time_8h_html_a7a02196096176d10235868e6dce48c4c"><div class="ttname"><a href="time_8h.html#a7a02196096176d10235868e6dce48c4c">setdate</a></div><div class="ttdeci">MEMSPACE int setdate(void)</div><div class="ttdoc">Set date and time by prompting user. </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00901">time.c:901</a></div></div>
<div class="ttc" id="structtm_html_a33adf78fd6476b2120ce3b9c4a852053"><div class="ttname"><a href="structtm.html#a33adf78fd6476b2120ce3b9c4a852053">tm::tm_year</a></div><div class="ttdeci">int tm_year</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00048">time.h:48</a></div></div>
<div class="ttc" id="send_8c_html_a435d1572bf3f880d55459d9805097f62"><div class="ttname"><a href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a></div><div class="ttdeci">unsigned int uint32_t</div><div class="ttdef"><b>Definition:</b> <a href="send_8c_source.html#l00019">send.c:19</a></div></div>
<div class="ttc" id="structtimeval_html_aef6ddab1064c430758f9f913b7e4a21e"><div class="ttname"><a href="structtimeval.html#aef6ddab1064c430758f9f913b7e4a21e">timeval::tv_sec</a></div><div class="ttdeci">time_t tv_sec</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00070">time.h:70</a></div></div>
<div class="ttc" id="structdst__t_html_a9a6e1d16a7057ad1206b9230b073f99f"><div class="ttname"><a href="structdst__t.html#a9a6e1d16a7057ad1206b9230b073f99f">dst_t::end</a></div><div class="ttdeci">time_t end</div><div class="ttdoc">Start of local DST in GMT. </div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00107">time.h:107</a></div></div>
<div class="ttc" id="time_8h_html_a97ed766c965cf60b39b74a22077caf51"><div class="ttname"><a href="time_8h.html#a97ed766c965cf60b39b74a22077caf51">is_dst</a></div><div class="ttdeci">MEMSPACE int is_dst(time_t epoch)</div><div class="ttdoc">Test GMT epoch time to see if DST applies in a local timezone. </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l01147">time.c:1147</a></div></div>
<div class="ttc" id="structtimespec_html_afc3302668d7cb5952f590da69fdd4955"><div class="ttname"><a href="structtimespec.html#afc3302668d7cb5952f590da69fdd4955">timespec::tv_sec</a></div><div class="ttdeci">time_t tv_sec</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00090">time.h:90</a></div></div>
<div class="ttc" id="time_8h_html_a10fe08d03c4c3da23d1e1c059f4cf3a5"><div class="ttname"><a href="time_8h.html#a10fe08d03c4c3da23d1e1c059f4cf3a5">gmtime</a></div><div class="ttdeci">MEMSPACE tm_t * gmtime(time_t *tp)</div><div class="ttdoc">Convert epoch GMT time_t *tp into POSIX static tm_t *t. </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00471">time.c:471</a></div></div>
<div class="ttc" id="time_8h_html_a1aab5ff5bdcacaf02c16153291db0ea3"><div class="ttname"><a href="time_8h.html#a1aab5ff5bdcacaf02c16153291db0ea3">ctime_r</a></div><div class="ttdeci">MEMSPACE char * ctime_r(time_t *t, char *buf)</div><div class="ttdoc">Convert local time_t *t epoch time into POSIX asctime() ASCII string *buf. </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00410">time.c:410</a></div></div>
<div class="ttc" id="time_8h_html_a3346b04b0420b32ccf6b706551b70762"><div class="ttname"><a href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a></div><div class="ttdeci">uint32_t time_t</div><div class="ttdoc">type of EPOCH result. </div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00035">time.h:35</a></div></div>
<div class="ttc" id="structtm_html_a112ac36fa2f593777138a417cf031e17"><div class="ttname"><a href="structtm.html#a112ac36fa2f593777138a417cf031e17">tm::tm_mon</a></div><div class="ttdeci">int tm_mon</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00047">time.h:47</a></div></div>
<div class="ttc" id="time_8h_html_af39c674506657f4a32793388117be705"><div class="ttname"><a href="time_8h.html#af39c674506657f4a32793388117be705">setdate_r</a></div><div class="ttdeci">MEMSPACE int setdate_r(char *buf)</div><div class="ttdoc">Set date and time from string in this format &quot;YYYY MM DD HH:MM:SS&quot;. </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00919">time.c:919</a></div></div>
<div class="ttc" id="structtimespec_html_ae3c7510dafa8cbcaede866ed13c99683"><div class="ttname"><a href="structtimespec.html#ae3c7510dafa8cbcaede866ed13c99683">timespec::tv_nsec</a></div><div class="ttdeci">long tv_nsec</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00091">time.h:91</a></div></div>
<div class="ttc" id="time_8h_html_af391cf18b3fab0e588c6c3f354b7ca18"><div class="ttname"><a href="time_8h.html#af391cf18b3fab0e588c6c3f354b7ca18">gmtime_r</a></div><div class="ttdeci">MEMSPACE tm_t * gmtime_r(time_t *t, tm_t *result)</div><div class="ttdoc">Convert epoch GMT time_t *tp into POSIX tm_t *result. </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00456">time.c:456</a></div></div>
<div class="ttc" id="time_8h_html_a4ad16382ead0709235ab5ea871c3d2be"><div class="ttname"><a href="time_8h.html#a4ad16382ead0709235ab5ea871c3d2be">print_dst</a></div><div class="ttdeci">MEMSPACE void print_dst(void)</div><div class="ttdoc">print start/stop for DST as localtime for this year </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l01158">time.c:1158</a></div></div>
<div class="ttc" id="time_8h_html_a96a115b6a8104959a7340938f150a350"><div class="ttname"><a href="time_8h.html#a96a115b6a8104959a7340938f150a350">gettimeofday</a></div><div class="ttdeci">MEMSPACE int gettimeofday(tv_t *tv, tz_t *tz)</div><div class="ttdoc">Get current time struct timeval *tv and struct timezone *tz - POSIX function. We assume a GMT hardwar...</div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00822">time.c:822</a></div></div>
<div class="ttc" id="time_8h_html_a054fae207409ed1e0be1c30edaab9a7b"><div class="ttname"><a href="time_8h.html#a054fae207409ed1e0be1c30edaab9a7b">clock_set</a></div><div class="ttdeci">MEMSPACE void clock_set(uint32_t seconds, uint32_t us)</div><div class="ttdoc">Set system clock with seconds and microseconds. </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00882">time.c:882</a></div></div>
<div class="ttc" id="time_8h_html_ac7a571349cf5217b6261a01bf85a79ab"><div class="ttname"><a href="time_8h.html#ac7a571349cf5217b6261a01bf85a79ab">tm_wday_to_ascii</a></div><div class="ttdeci">MEMSPACE char * tm_wday_to_ascii(int i)</div><div class="ttdoc">Get string Short name of day from day number. </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00087">time.c:87</a></div></div>
<div class="ttc" id="time_8h_html_a3c227da686cc61a0543ffd12c673c895"><div class="ttname"><a href="time_8h.html#a3c227da686cc61a0543ffd12c673c895">print_dst_gmt</a></div><div class="ttdeci">MEMSPACE void print_dst_gmt(void)</div><div class="ttdoc">print start/stop for DST as GMT for this year </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l01166">time.c:1166</a></div></div>
<div class="ttc" id="structdst__t_html_af1868fb321db3637664e3a3bf11cf56b"><div class="ttname"><a href="structdst__t.html#af1868fb321db3637664e3a3bf11cf56b">dst_t::start</a></div><div class="ttdeci">time_t start</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00106">time.h:106</a></div></div>
<div class="ttc" id="time_8h_html_aeafbe7f942ef85f85edbbe31e439372b"><div class="ttname"><a href="time_8h.html#aeafbe7f942ef85f85edbbe31e439372b">mktime</a></div><div class="ttdeci">MEMSPACE time_t mktime(tm_t *t)</div><div class="ttdoc">convert tm_t structure to time_t local time epoch </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00534">time.c:534</a></div></div>
<div class="ttc" id="time_8h_html_a3b1394c042dadbb7086e4facb6c87186"><div class="ttname"><a href="time_8h.html#a3b1394c042dadbb7086e4facb6c87186">normalize</a></div><div class="ttdeci">MEMSPACE time_t normalize(tm_t *t, int normalize_to_timezone)</div><div class="ttdoc">Normalize POSIX tm_t *t struct and convert to epoch time Note: does not deal with DST - by design...</div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00654">time.c:654</a></div></div>
<div class="ttc" id="time_8h_html_a8386ff819a39512ea00cfc78ce5a27d5"><div class="ttname"><a href="time_8h.html#a8386ff819a39512ea00cfc78ce5a27d5">timegm</a></div><div class="ttdeci">MEMSPACE time_t timegm(tm_t *t)</div><div class="ttdoc">Convert tm_t structure as GMT time into GMT seconds since 1900. All calculactions are in GMT regardle...</div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00347">time.c:347</a></div></div>
<div class="ttc" id="time_8h_html_af05576742e2f8ad3924c02a6af70a86d"><div class="ttname"><a href="time_8h.html#af05576742e2f8ad3924c02a6af70a86d">localtime_r</a></div><div class="ttdeci">MEMSPACE tm_t * localtime_r(time_t *t, tm_t *result)</div><div class="ttdoc">Convert POSIX epoch time_t *tp into POSIX tm_t *result expressed as local time using timezone and DST...</div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00499">time.c:499</a></div></div>
<div class="ttc" id="structtimeval_html"><div class="ttname"><a href="structtimeval.html">timeval</a></div><div class="ttdoc">POSIX timeval. </div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00068">time.h:68</a></div></div>
<div class="ttc" id="structdst__t_html_ae8b931e1a2731b688e1af1253787827c"><div class="ttname"><a href="structdst__t.html#ae8b931e1a2731b688e1af1253787827c">dst_t::epoch</a></div><div class="ttdeci">time_t epoch</div><div class="ttdoc">End of local DST in GMT. </div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00108">time.h:108</a></div></div>
<div class="ttc" id="time_8h_html_a2c066c436f8198cf22c1f2eef5d7b67a"><div class="ttname"><a href="time_8h.html#a2c066c436f8198cf22c1f2eef5d7b67a">set_dst</a></div><div class="ttdeci">MEMSPACE void set_dst(time_t epoch)</div><div class="ttdoc">Set DST start and end time for the given epoch year. </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l01113">time.c:1113</a></div></div>
<div class="ttc" id="structtm_html_a6b7d1fb16f21197ea027e364e2812c3d"><div class="ttname"><a href="structtm.html#a6b7d1fb16f21197ea027e364e2812c3d">tm::tm_gmtoff</a></div><div class="ttdeci">int32_t tm_gmtoff</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00052">time.h:52</a></div></div>
<div class="ttc" id="time_8h_html_aeb8aa93cda8bc413e67e8633793edf7e"><div class="ttname"><a href="time_8h.html#aeb8aa93cda8bc413e67e8633793edf7e">settimeofday</a></div><div class="ttdeci">MEMSPACE int settimeofday(tv_t *tv, tz_t *tz)</div><div class="ttdoc">Set current time struct timeval *tv and struct timezone *tz - POSIX function. We assume a GMT hardwar...</div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00861">time.c:861</a></div></div>
<div class="ttc" id="structtimeval_html_a8fd7abf5420981b3ff58bb23df458587"><div class="ttname"><a href="structtimeval.html#a8fd7abf5420981b3ff58bb23df458587">timeval::tv_usec</a></div><div class="ttdeci">uint32_t tv_usec</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00071">time.h:71</a></div></div>
<div class="ttc" id="time_8h_html_a9ac29ed71adf6807175d24ab1fa622a7"><div class="ttname"><a href="time_8h.html#a9ac29ed71adf6807175d24ab1fa622a7">__tzone</a></div><div class="ttdeci">tz_t __tzone</div><div class="ttdoc">System Time Zone. </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00049">time.c:49</a></div></div>
<div class="ttc" id="time_8h_html_a09b5af92607205b927df4dcc1f2baa53"><div class="ttname"><a href="time_8h.html#a09b5af92607205b927df4dcc1f2baa53">time_to_tm</a></div><div class="ttdeci">MEMSPACE time_t time_to_tm(time_t epoch, int32_t offset, tm_t *t)</div><div class="ttdoc">Converts epoch ( seconds from 1 Jan EPOCH_YEAR UTC), offset seconds, to UNIX tm *t. </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00262">time.c:262</a></div></div>
<div class="ttc" id="structdst__t_html"><div class="ttname"><a href="structdst__t.html">dst_t</a></div><div class="ttdoc">DST structure. </div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00105">time.h:105</a></div></div>
<div class="ttc" id="time_8h_html_a0dd83b6492eb8473cb55bb45d8fc6c0c"><div class="ttname"><a href="time_8h.html#a0dd83b6492eb8473cb55bb45d8fc6c0c">tm_mon_to_ascii</a></div><div class="ttdeci">MEMSPACE char * tm_mon_to_ascii(int i)</div><div class="ttdoc">Get string Short name of Month from month number. </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00114">time.c:114</a></div></div>
<div class="ttc" id="structtm_html"><div class="ttname"><a href="structtm.html">tm</a></div><div class="ttdoc">POSIX struct tm. </div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00041">time.h:41</a></div></div>
<div class="ttc" id="structtm_html_afe81a8c46f1c693c43f259b288859f4f"><div class="ttname"><a href="structtm.html#afe81a8c46f1c693c43f259b288859f4f">tm::tm_wday</a></div><div class="ttdeci">int tm_wday</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00049">time.h:49</a></div></div>
<div class="ttc" id="time_8h_html_a08eb1818fa59b3e6e1f1470ca0888572"><div class="ttname"><a href="time_8h.html#a08eb1818fa59b3e6e1f1470ca0888572">localtime</a></div><div class="ttdeci">MEMSPACE tm_t * localtime(time_t *tp)</div><div class="ttdoc">Convert POSIX epoch time_t *tp into POSIX tm_t *result. </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00522">time.c:522</a></div></div>
<div class="ttc" id="cpu_8h_html_ad0fe97585b8891f5e4f2b9a6426330a4"><div class="ttname"><a href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a></div><div class="ttdeci">#define MEMSPACE</div><div class="ttdef"><b>Definition:</b> <a href="cpu_8h_source.html#l00025">cpu.h:25</a></div></div>
<div class="ttc" id="structtm_html_a93a0ba77cc23796df84405dcbcc57eb1"><div class="ttname"><a href="structtm.html#a93a0ba77cc23796df84405dcbcc57eb1">tm::tm_yday</a></div><div class="ttdeci">int tm_yday</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00050">time.h:50</a></div></div>
<div class="ttc" id="time_8h_html_a335451dd774ecb4b696d501b4c1b6f30"><div class="ttname"><a href="time_8h.html#a335451dd774ecb4b696d501b4c1b6f30">__clock</a></div><div class="ttdeci">volatile ts_t __clock</div><div class="ttdoc">System Clock Time. </div><div class="ttdef"><b>Definition:</b> <a href="timer_8c_source.html#l00038">timer.c:38</a></div></div>
<div class="ttc" id="time_8h_html_abfb6a874f26825f5b1b82edcd614bc86"><div class="ttname"><a href="time_8h.html#abfb6a874f26825f5b1b82edcd614bc86">display_clock</a></div><div class="ttdeci">MEMSPACE void display_clock(void)</div><div class="ttdoc">Display system time and optionally RTC time. </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l01227">time.c:1227</a></div></div>
<div class="ttc" id="structtimespec_html"><div class="ttname"><a href="structtimespec.html">timespec</a></div><div class="ttdoc">POSIX timespec. </div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00088">time.h:88</a></div></div>
<div class="ttc" id="structtm_html_a4d098a9a5c03a00b2ee61e10851de81e"><div class="ttname"><a href="structtm.html#a4d098a9a5c03a00b2ee61e10851de81e">tm::tm_sec</a></div><div class="ttdeci">int tm_sec</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00043">time.h:43</a></div></div>
<div class="ttc" id="time_8h_html_a7ffc52def0c7fbf70c50248e3f7d6a8a"><div class="ttname"><a href="time_8h.html#a7ffc52def0c7fbf70c50248e3f7d6a8a">asctime_r</a></div><div class="ttdeci">MEMSPACE char * asctime_r(tm_t *t, char *buf)</div><div class="ttdoc">Convert tm_t *t structure into POSIX asctime() ASCII string *buf. </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00367">time.c:367</a></div></div>
<div class="ttc" id="time_8h_html_a0be4566aa9ed3f590570de0787f2cc12"><div class="ttname"><a href="time_8h.html#a0be4566aa9ed3f590570de0787f2cc12">initialize_clock</a></div><div class="ttdeci">MEMSPACE void initialize_clock(int minwest)</div><div class="ttdoc">initialize system time - if we have an RTC use it </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l01178">time.c:1178</a></div></div>
<div class="ttc" id="structtm_html_a3e7ca4e37f1abcaf56b8a916c38eb9fe"><div class="ttname"><a href="structtm.html#a3e7ca4e37f1abcaf56b8a916c38eb9fe">tm::tm_hour</a></div><div class="ttdeci">int tm_hour</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00045">time.h:45</a></div></div>
<div class="ttc" id="user__main_8c_html_ae112d79896ed83ac05e155da60e85523"><div class="ttname"><a href="user__main_8c.html#ae112d79896ed83ac05e155da60e85523">seconds</a></div><div class="ttdeci">time_t seconds</div><div class="ttdef"><b>Definition:</b> <a href="user__main_8c_source.html#l00293">user_main.c:293</a></div></div>
<div class="ttc" id="structtimezone_html"><div class="ttname"><a href="structtimezone.html">timezone</a></div><div class="ttdoc">POSIX timezone. </div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00078">time.h:78</a></div></div>
<div class="ttc" id="structtm_html_a5645ca0580c8ab2c24f6c2965d9c9f9c"><div class="ttname"><a href="structtm.html#a5645ca0580c8ab2c24f6c2965d9c9f9c">tm::tm_isdst</a></div><div class="ttdeci">int tm_isdst</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00051">time.h:51</a></div></div>
<div class="ttc" id="time_8h_html_ac363b4a4a45a4431d3c3b56886f1bef1"><div class="ttname"><a href="time_8h.html#ac363b4a4a45a4431d3c3b56886f1bef1">gettimezone</a></div><div class="ttdeci">MEMSPACE int gettimezone(tz_t *tz)</div><div class="ttdoc">Get current timezone in struct timezone *tz - POSIX function. </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00792">time.c:792</a></div></div>
<div class="ttc" id="structtimezone_html_a3042f7eff6e1b980728def76b1fa0eb7"><div class="ttname"><a href="structtimezone.html#a3042f7eff6e1b980728def76b1fa0eb7">timezone::tz_minuteswest</a></div><div class="ttdeci">int tz_minuteswest</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00080">time.h:80</a></div></div>
<div class="ttc" id="time_8h_html_ae0a1ae285cfe1e2fc598ac12f46ceaef"><div class="ttname"><a href="time_8h.html#ae0a1ae285cfe1e2fc598ac12f46ceaef">finddayofweek</a></div><div class="ttdeci">MEMSPACE int finddayofweek(int year, int month, int day)</div><div class="ttdoc">return day of week for givenn day, month, year </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00180">time.c:180</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 31 2018 21:22:16 for ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
